<?php


class BeeCacheUtil{
	
	
	
	
	public function  __construct(){
		$this->memcache=new Memcache();		
		$this->memcache->addServer('127.0.0.1', 11211);		
	}
	
	
	
	public function get($str){
		return $this->memcache->get($str);
		
	}
	
	public function delete($str){
		return $this->memcache->delete($str);
		
	}
	
	public function set($str,$val){
		$this->memcache->set($str,$val,MEMCACHE_COMPRESSED,3000);
		
	}
	
	
	
}


?>